<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/jsp/head.jsp"%>
<%@ include file="/jsp/jslib.jsp"%>
<script type="text/javascript">
PAGE_CONFIG = {
	'MENU_INDEX' : 2,'LI_INDEX' : 4
};
</script>
</head>

<body>
<%@ include file="/jsp/banner.jsp"%>
<div class="am-cf admin-main">
    <%@ include file="/jsp/menu.jsp"%>
	
	<!-- content start -->
	<div class="admin-content">
		<div class="admin-content-body">
		
		<!-- ***** 分离出去 动态加载 start ***** -->
		
		<div class="admin-content-body">
		    <div class="am-cf am-padding am-padding-bottom-0">
		        <div class="am-fl am-cf">
		            <strong class="am-text-primary am-text-lg"> 编辑客户公司 </strong>
		        </div>
		    </div>
		    
		    <hr>
		    
            <form action="${ctx}/customer/company/insertorupdate" method="post" class="am-form">
                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right"> 公司名称 </div>
                    <div class="am-u-sm-8 am-u-md-4" hidden>
                        <input type="text" id="companyId" name="companyId" value="${param.companyId}" class="am-input-sm">
                    </div>
                    <div class="am-u-sm-8 am-u-md-4">
                        <input type="text" id="companyName" name="companyName" value="${param.companyName}" class="am-input-sm" required>
                    </div>
                    <div class="am-hide-sm-only am-u-md-6"> *必填 </div>
                </div>
                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right"> 公司地址 </div>
                    <div class="am-u-sm-8 am-u-md-4">
                        <input type="text" id="companyAdress" name="companyAdress" value="${param.companyAdress}" class="am-input-sm" required>
                    </div>
                    <div class="am-hide-sm-only am-u-md-6"> *必填 </div>
                </div>
                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right"> 所属行业 </div>
                    <div class="am-u-sm-8 am-u-md-4">
                        <input type="text" id="companyIndustry" name="companyIndustry" value="${param.companyIndustry}" class="am-input-sm" required>
                    </div>
                    <div class="am-hide-sm-only am-u-md-6"> *必填 </div>
                </div>
                <div class="am-margin">
			        <button type="submit" class="am-btn am-btn-primary am-btn-sm am-margin-sm"> 保 存 </button>
			        <button type="button" class="am-btn am-btn-primary am-btn-sm am-margin-sm" onclick="javascript:window.location.href='${ctx}/customer/company/all'"> 返 回 </button>
			    </div>
            </form>
		</div>
	</div>
</div>
</div>
</body>
</html>